<?php namespace Home\Controller;
use Hdphp\Controller\Controller;
//个人中心控制器
class CenterController extends Controller{
	public function index(){
		//获得顶级分类,
    	$cateModel =new \Common\Model\Cate;
		$topCate = $cateModel->get();
		View::with('topCate',$topCate);
		// p($topCate);
       View::make();
	}
}






 ?>